package com.team.service;

import java.util.List;

import com.team.entity.Admin;
import com.team.entity.User;

public interface UserService {
 public void saveuser(User user);
 public User seleu(String username);
 public User seleuser(String username,String password);
 public Admin seleadmin(String username,String password);
 public Admin selea(int id);
 public boolean upadmin(Admin admin);
 public boolean upuser(User user);
 public List<User> alluser();
 public boolean deleuser(int id);
 public User selepassword(String username,String no,String name,String department);
}
